c_ = sparse(64,1);
c_(1) = 1;
b_ = sparse(60,1);
b_(14:14) = x_0;
b_(18:18) = 1.0;
b_(22:22) = 1.0;
b_(26:26) = 1.0;
b_(34:34) = -0.5;
b_(35:35) = -0.5;
b_(37:37) = -0.5;
b_(38:38) = -0.5;
b_(42:42) = 1.0;
b_(53:53) = one_over_q;
b_(55:55) = -0.5;
b_(56:56) = -0.5;
b_(60:60) = 1.0;
A_ = sparse(60, 64);
A_(1:1, 29:29) = 1.0; A_(1:1, 30:30) = -1.0;
A_(2:2, 31:31) = 1.0; A_(2:2, 32:32) = 1.0; A_(2:2, 30:30) = -1.0;
A_(3:3, 10:10) = a; A_(3:3, 31:31) = -1.0;
A_(4:4, 13:13) = b; A_(4:4, 32:32) = -1.0;
A_(5:5, 20:20) = 1.0; A_(5:5, 33:33) = -1.0;
A_(6:6, 34:34) = 1.0; A_(6:6, 35:35) = 1.0; A_(6:6, 33:33) = -1.0;
A_(7:7, 29:29) = a; A_(7:7, 34:34) = -1.0;
A_(8:8, 36:36) = b; A_(8:8, 35:35) = -1.0;
A_(9:9, 28:28) = 1.0; A_(9:9, 37:37) = -1.0;
A_(10:10, 38:38) = 1.0; A_(10:10, 39:39) = 1.0; A_(10:10, 37:37) = -1.0;
A_(11:11, 20:20) = a; A_(11:11, 38:38) = -1.0;
A_(12:12, 40:40) = b; A_(12:12, 39:39) = -1.0;
A_(13:13, 10:10) = 1.0; A_(13:13, 41:41) = -1.0;
A_(14:14, 41:41) = 1.0;
A_(15:15, 42:42) = 1.0; A_(15:15, 2:2) = 1.0; A_(15:15, 13:13) = -1.0;
A_(16:16, 42:42) = 1.0;
A_(17:17, 13:13) = 1.0; A_(17:17, 3:3) = 1.0; A_(17:17, 43:43) = -1.0;
A_(18:18, 43:43) = 1.0;
A_(19:19, 42:42) = 1.0; A_(19:19, 4:4) = 1.0; A_(19:19, 36:36) = -1.0;
A_(20:20, 42:42) = 1.0;
A_(21:21, 36:36) = 1.0; A_(21:21, 5:5) = 1.0; A_(21:21, 43:43) = -1.0;
A_(22:22, 43:43) = 1.0;
A_(23:23, 42:42) = 1.0; A_(23:23, 6:6) = 1.0; A_(23:23, 40:40) = -1.0;
A_(24:24, 42:42) = 1.0;
A_(25:25, 40:40) = 1.0; A_(25:25, 7:7) = 1.0; A_(25:25, 43:43) = -1.0;
A_(26:26, 43:43) = 1.0;
A_(27:27, 44:44) = 1.0; A_(27:27, 45:45) = 1.0; A_(27:27, 1:1) = -1.0;
A_(28:28, 46:46) = 1.0; A_(28:28, 47:47) = -1.0; A_(28:28, 44:44) = -1.0;
A_(29:29, 48:48) = 1.0; A_(29:29, 49:49) = 1.0; A_(29:29, 46:46) = -1.0;
A_(30:30, 50:50) = 1.0; A_(30:30, 51:51) = -1.0; A_(30:30, 48:48) = -1.0;
A_(31:31, 52:52) = 1.0; A_(31:31, 53:53) = 1.0; A_(31:31, 50:50) = -1.0;
A_(32:32, 54:54) = 1.0; A_(32:32, 55:55) = 1.0; A_(32:32, 52:52) = -1.0;
A_(33:33, 56:56) = q; A_(33:33, 54:54) = -1.0;
A_(34:34, 56:56) = 0.5; A_(34:34, 8:8) = -1.0;
A_(35:35, 56:56) = -0.5; A_(35:35, 9:9) = -1.0;
A_(36:36, 57:57) = r; A_(36:36, 55:55) = -1.0;
A_(37:37, 57:57) = 0.5; A_(37:37, 11:11) = -1.0;
A_(38:38, 57:57) = -0.5; A_(38:38, 12:12) = -1.0;
A_(39:39, 58:58) = q; A_(39:39, 53:53) = -1.0;
A_(40:41, 58:58) = 1.0*ones(2, 1); A_(40:41, 59:60) = -1.0*speye(2, 2); A_(40:41, 14:15) = -1.0*speye(2, 2);
A_(42:42, 43:43) = 1.0;
A_(43:44, 59:60) = -1.0*speye(2, 2); A_(43:43, 29:29) = 1.0; A_(44:44, 43:43) = 1.0;
A_(45:45, 61:61) = r; A_(45:45, 51:51) = -1.0;
A_(46:47, 61:61) = -1.0*ones(2, 1); A_(46:47, 62:63) = 1.0*speye(2, 2); A_(46:47, 16:17) = -1.0*speye(2, 2);
A_(48:48, 42:42) = 1.0;
A_(49:50, 62:63) = -1.0*speye(2, 2); A_(49:49, 36:36) = 1.0; A_(50:50, 42:42) = 1.0;
A_(51:51, 21:21) = 0.5; A_(51:51, 49:49) = 0.5; A_(51:51, 18:18) = -1.0;
A_(52:52, 21:21) = 0.5; A_(52:52, 49:49) = -0.5; A_(52:52, 19:19) = -1.0;
A_(53:53, 21:21) = 1.0;
A_(54:54, 24:24) = r; A_(54:54, 47:47) = -1.0;
A_(55:55, 40:40) = 0.5; A_(55:55, 22:22) = -1.0;
A_(56:56, 40:40) = -0.5; A_(56:56, 23:23) = -1.0;
A_(57:57, 64:64) = p; A_(57:57, 45:45) = -1.0;
A_(58:58, 28:28) = 0.5; A_(58:58, 64:64) = 0.5; A_(58:58, 25:25) = -1.0;
A_(59:59, 28:28) = 0.5; A_(59:59, 64:64) = -0.5; A_(59:59, 26:26) = -1.0;
A_(60:60, 27:27) = 1.0;
G_ = sparse(27, 64);
G_(1:1:1, 2:2) = -speye(1, 1);
G_(2:1:2, 3:3) = -speye(1, 1);
G_(3:1:3, 4:4) = -speye(1, 1);
G_(4:1:4, 5:5) = -speye(1, 1);
G_(5:1:5, 6:6) = -speye(1, 1);
G_(6:1:6, 7:7) = -speye(1, 1);
G_(7:1:8, 14:15) = -speye(2, 2);
G_(9:1:10, 16:17) = -speye(2, 2);
G_(11:1:11, 21:21) = -speye(1, 1);
G_(12:1:12, 28:28) = -speye(1, 1);
G_(13:1:13, 8:8) = -speye(1, 1);
G_(14:1:14, 9:9) = -speye(1, 1);
G_(15:1:15, 10:10) = -speye(1, 1);
G_(16:1:16, 11:11) = -speye(1, 1);
G_(17:1:17, 12:12) = -speye(1, 1);
G_(18:1:18, 13:13) = -speye(1, 1);
G_(19:1:19, 18:18) = -speye(1, 1);
G_(20:1:20, 19:19) = -speye(1, 1);
G_(21:1:21, 20:20) = -speye(1, 1);
G_(22:1:22, 22:22) = -speye(1, 1);
G_(23:1:23, 23:23) = -speye(1, 1);
G_(24:1:24, 24:24) = -speye(1, 1);
G_(25:1:25, 25:25) = -speye(1, 1);
G_(26:1:26, 26:26) = -speye(1, 1);
G_(27:1:27, 27:27) = -speye(1, 1);
h_ = zeros(27, 1);
dims.q = [3,3,3,3,3];
dims.l = 12;
[x_codegen, y_, info_] = conelp(full(c_), G_, h_, dims, A_, full(b_));
t18 = x_codegen(1:1);
t34 = x_codegen(2:2);
t35 = x_codegen(3:3);
t36 = x_codegen(4:4);
t37 = x_codegen(5:5);
t38 = x_codegen(6:6);
t39 = x_codegen(7:7);
t1z0 = x_codegen(8:8);
t1z1 = x_codegen(9:9);
x1 = x_codegen(10:10);
t4z0 = x_codegen(11:11);
t4z1 = x_codegen(12:12);
x5 = x_codegen(13:13);
t8z0 = x_codegen(14:15);
t12z0 = x_codegen(16:17);
t14z0 = x_codegen(18:18);
t14z1 = x_codegen(19:19);
x3 = x_codegen(20:20);
pone_over_q = x_codegen(21:21);
t17z0 = x_codegen(22:22);
t17z1 = x_codegen(23:23);
t17 = x_codegen(24:24);
t20z0 = x_codegen(25:25);
t20z1 = x_codegen(26:26);
t20z2 = x_codegen(27:27);
x4 = x_codegen(28:28);
x2 = x_codegen(29:29);
t22 = x_codegen(30:30);
t21 = x_codegen(31:31);
t23 = x_codegen(32:32);
t26 = x_codegen(33:33);
t25 = x_codegen(34:34);
t27 = x_codegen(35:35);
x6 = x_codegen(36:36);
t30 = x_codegen(37:37);
t29 = x_codegen(38:38);
t31 = x_codegen(39:39);
x7 = x_codegen(40:40);
px_0 = x_codegen(41:41);
c0d0 = x_codegen(42:42);
c1d0 = x_codegen(43:43);
t15 = x_codegen(44:44);
t19 = x_codegen(45:45);
t13 = x_codegen(46:46);
t16 = x_codegen(47:47);
t9 = x_codegen(48:48);
t14 = x_codegen(49:49);
t5 = x_codegen(50:50);
t10 = x_codegen(51:51);
t2 = x_codegen(52:52);
t6 = x_codegen(53:53);
t0 = x_codegen(54:54);
t3 = x_codegen(55:55);
t1 = x_codegen(56:56);
t4 = x_codegen(57:57);
t8 = x_codegen(58:58);
t7 = x_codegen(59:60);
t12 = x_codegen(61:61);
t11 = x_codegen(62:63);
t20 = x_codegen(64:64);
ecos_optval = 1*info_.pcost;
